package com.springinaction.pizza.service;

import com.springinaction.pizza.domain.Order;
import com.springinaction.pizza.domain.Pizza;

/**
 * Created by jia on 2018/4/13.
 */
public class PizzaServiceImpl implements PizzaService{
    @Override
    public void addPizza(Order order, Pizza pizza) {
        order.getPizzas().add(pizza);
    }
}
